fix: format stray markdown files and correct broken link breaking CI on main#3301
Conversation
Two files merged to main without passing the repo-wide checks: - internal/planning/json-render-body-migration-plan.md (#3299) — failed prettier formatting. - reports/ror-memory-leakage-investigation.md (#3296) — failed prettier formatting AND linked to ../../docs/pro/js-memory-leaks.md, one level too high (resolves outside the repo). Target exists at repo-root docs/pro/js-memory-leaks.md; corrected to ../docs/pro/js-memory-leaks.md. The markdown-format-check and build CI jobs run prettier --check over the whole repo, so every open PR fails those checks until these are fixed. Formatting changes are prettier --write output only; the link change is a single relative-path correction. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR restructures two documentation files by updating planning document table entries and converting the memory leakage investigation report from inline content into consistently formatted markdown tables to improve readability and information organization. ChangesDocumentation Restructuring
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR fixes two markdown files that were breaking CI on
Confidence Score: 5/5Safe to merge — changes are whitespace-only formatting and a single link path correction. Both files receive only Prettier-generated whitespace realignment in tables and paragraph spacing. The one substantive change is the relative link in No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["CI on main (broken)"] -->|"prettier --check fails"| B["json-render-body-migration-plan.md\n(misaligned table columns)"]
A -->|"prettier --check + broken link"| C["ror-memory-leakage-investigation.md\n(misaligned tables + ../../docs/... link)"]
B -->|"prettier --write"| D["Formatted ✓"]
C -->|"prettier --write"| E["Formatted ✓"]
C -->|"../../docs/pro/js-memory-leaks.md\n→ ../docs/pro/js-memory-leaks.md"| F["Link resolved ✓"]
D --> G["CI green on main"]
E --> G
F --> G
Reviews (1): Last reviewed commit: "fix: format stray markdown and correct a..." | Re-trigger Greptile |
Code ReviewSummary: Focused maintenance PR fixing two CI-blocking issues — Prettier formatting violations and a broken relative link — introduced by earlier merges (#3299, #3296). What the PR does
Verification
Assessment
Verdict: LGTM. Clean, minimal fix that unblocks CI for all open PRs without any risk of regression. |
Summary
Two markdown files were merged to
mainwithout passing the repo-wide checks, which turnsmarkdown-format-checkand thebuildjob's format step red on every open PR (both runprettier --checkover the entire repo, not just changed files):internal/planning/json-render-body-migration-plan.md(from docs(planning): JSON render-request body migration plan (#3280) #3299) — prettier formatting only.reports/ror-memory-leakage-investigation.md(from docs: memory leakage investigation report for SSR pipeline #3296) — prettier formatting and a relative link to../../docs/pro/js-memory-leaks.md, which is one level too high and resolves outside the repo. The target exists at repo-rootdocs/pro/js-memory-leaks.md; corrected to../docs/pro/js-memory-leaks.md.Formatting changes are
prettier --writeoutput only (no content edits). The link change is a single relative-path correction; verified the target file exists and themarkdown-links(lychee) pre-commit hook now passes.Why this is its own PR
These files are unrelated to any feature work, but their CI failures block unrelated PRs (e.g. #3232). Fixing them on
maindirectly via a focused PR unblocks everything in flight.Test plan
pnpm exec prettier --check internal/planning/json-render-body-migration-plan.md reports/ror-memory-leakage-investigation.md→ cleanmarkdown-linkslefthook hook passes (corrected link resolves)🤖 Generated with Claude Code
Summary by CodeRabbit